<table>
    <tbody>
        <tr class="prop">
            <td valign="top" class="name">
                <label for="user"><g:message code="shareRole.user" default="User" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: shareRoleInstance, field: 'user', 'errors')}">
                <g:select name="user.id" from="${org.icress.fusion.shiro.User.list()}" optionKey="id" value="${shareRoleInstance?.user?.id}"  />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="group"><g:message code="shareRole.group" default="Group" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: shareRoleInstance, field: 'group', 'errors')}">
                <g:select name="group.id" from="${org.icress.fusion.admin.Group.list()}" optionKey="id" value="${shareRoleInstance?.group?.id}"  />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="domain"><g:message code="shareRole.domain" default="Domain" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: shareRoleInstance, field: 'domain', 'errors')}">
                <g:textField name="domain" value="${fieldValue(bean: shareRoleInstance, field: 'domain')}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="read"><g:message code="shareRole.read" default="Read" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: shareRoleInstance, field: 'read', 'errors')}">
                <g:checkBox name="read" value="${shareRoleInstance?.read}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="edit"><g:message code="shareRole.edit" default="Edit" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: shareRoleInstance, field: 'edit', 'errors')}">
                <g:checkBox name="edit" value="${shareRoleInstance?.edit}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="delete"><g:message code="shareRole.delete" default="Delete" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: shareRoleInstance, field: 'delete', 'errors')}">
                <g:checkBox name="delete" value="${shareRoleInstance?.delete}" />
            </td>
        </tr>

    </tbody>
</table>